<?php

use app\common\enum\DeliveryType as DeliveryTypeEnum;

// 订单详情
$detail = isset($detail) ? $detail : null;
$invoice = isset($invoice) ? $invoice : null;

?>
<div class="row-content am-cf">
    <div class="row">
        <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
            <div class="widget am-cf">
                <div class="widget__order-detail widget-body am-margin-bottom-lg">

                    <!-- 实名认证信息 -->
                    <div class="widget-head am-cf">
                        <div class="widget-title am-fl">实名认证信息</div>
                    </div>
                    <div class="am-scrollable-horizontal">
                        <table class="regional-table am-table am-table-bordered am-table-centered
                            am-text-nowrap am-margin-bottom-xs">
                            <tbody>
                            <tr>
                                <th>基本信息</th>
                                <th>证件信息</th>
                                <th>认证状态</th>
                            </tr>
                            <tr>
                                <td>
                                    <div class="td__order-price am-text-left">
                                        <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;姓名：
                                            <span class="am-badge am-badge-secondary"> <?= $model['realName'] ?> </span>
                                        </p>
                                        <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;性别：
                                            <span class="am-badge am-badge-secondary"> <?= $model['gender'] == 1 ? '男' : '女' ?> </span>
                                        </p>
                                        <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;民族：
                                            <span class="am-badge am-badge-secondary"> <?= $model['nation'] ?> </span>
                                        </p>
                                        <p>出生日期：
                                            <span class="am-badge am-badge-secondary"> <?= $model['year'] ?>年<?= $model['month'] ?>月<?= $model['day'] ?>日 </span>
                                        </p>
                                    </div>
                                </td>
                                <td>
                                    <div class="td__order-price am-text-left" style="width: unset">
                                        <p>身份证号：
                                            <span class="am-badge am-badge-secondary"> <?= $model['id_card'] ?> </span>
                                        </p>
                                        <p>证件地址：
                                            <span class="am-badge am-badge-secondary"> <?= $model['id_card_address'] ?> </span>
                                        </p>
                                        <p>发证机关：
                                            <span class="am-badge am-badge-secondary"> <?= $model['authority'] ?> </span>
                                        </p>
                                        <p>&nbsp;&nbsp;&nbsp; 有效期：
                                            <span class="am-badge am-badge-secondary"> - </span>
                                        </p>
                                    </div>
                                    
                                </td>
                                <td>
                                    <p>认证状态：
                                        <span class="am-badge
                                        <?= $model['real_verify'] == 1 ? 'am-badge-success' : '' ?>">
                                                <?= $model['real_verify'] == 1 ? '已认证' : '未认证' ?></span>
                                    </p>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>

                    <!-- 基本信息 -->
                    <div class="widget-head am-cf">
                        <div class="widget-title am-fl">基本信息</div>
                    </div>
                    <div class="am-scrollable-horizontal">
                        <table class="regional-table am-table am-table-bordered am-table-centered
                            am-text-nowrap am-margin-bottom-xs">
                            <tbody>
                            <tr>
                                <th>基本信息</th>
                                <th>就业信息</th>
                            </tr>
                            <tr>
                                <td>
                                    <div class="td__order-price am-text-left">
                                        <p>本人手机：
                                            <span class="am-badge am-badge-secondary"> <?= $model['phone'] ?> </span>
                                        </p>
                                        <p>现居地址：
                                            <span class="am-badge am-badge-secondary"> <?= $model['address'] ?> </span>
                                        </p>
                                        <p>政治面貌：
                                            <span class="am-badge am-badge-secondary"> <?= $model['OutlookExplainCn'] ?> </span>
                                        </p>
                                        <p>文化程度：
                                            <span class="am-badge am-badge-secondary"> <?= $model['EducationExplainCn'] ?> </span>
                                        </p>
                                        <p>退休状态：
                                            <span class="am-badge am-badge-secondary"> <?= $model['RetireStatusExplainCn'] ?> </span>
                                        </p>
                                    </div>
                                </td>
                                <td>
                                    <div class="td__order-price am-text-left" style="width: unset">
                                        <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;职务：
                                            <span class="am-badge am-badge-secondary"> <?= $model['duties'] ?: '-' ?> </span>
                                        </p>
                                        <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;职级：
                                            <span class="am-badge am-badge-secondary"> <?= $model['job_level'] ?: '-' ?> </span>
                                        </p>
                                        <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;职称：
                                            <span class="am-badge am-badge-secondary"> <?= $model['job_level_name'] ?: '-' ?> </span>
                                        </p>
                                        <p>工作单位：
                                            <span class="am-badge am-badge-secondary"> <?= $model['company'] ?: '-' ?> </span>
                                        </p>
                                        <p>单位类型：
                                            <span class="am-badge am-badge-secondary"> <?= $model['CompanyCategoryIdExplainCn'] ?> </span>
                                        </p>
                                    </div>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>

                    <!-- 其他信息 -->
                    <div class="widget-head am-cf">
                        <div class="widget-title am-fl">其他信息</div>
                    </div>
                    <div class="am-scrollable-horizontal">
                        <table class="regional-table am-table am-table-bordered am-table-centered
                            am-text-nowrap am-margin-bottom-xs">
                            <tbody>
                            <tr>
                                <th>车辆信息</th>
                                <th>第一联系人</th>
                                <th>第二联系人</th>
                            </tr>
                            <tr>
                                <td>
                                    <p>车牌号码：
                                        <span class="am-badge am-badge-secondary">
                                        <?= $model['car_no'] ?: '-' ?></span>
                                    </p>
                                </td>
                                <td>
                                    <div class="td__order-price am-text-left">
                                        <p>亲属姓名：
                                            <span class="am-badge am-badge-secondary"> <?= $model['one_contact_name'] ?: '-' ?> </span>
                                        </p>
                                        <p>亲属关系：
                                            <span class="am-badge am-badge-secondary"> <?= $model['one_contact_relation'] ?: '-' ?> </span>
                                        </p>
                                        <p>亲属电话：
                                            <span class="am-badge am-badge-secondary"> <?= $model['one_contact_phone'] ?: '-' ?> </span>
                                        </p>
                                    </div>
                                </td>
                                <td>
                                    <div class="td__order-price am-text-left" style="width: unset">
                                        <p>亲属姓名：
                                            <span class="am-badge am-badge-secondary"> <?= $model['two_contact_name'] ?: '-' ?> </span>
                                        </p>
                                        <p>亲属关系：
                                            <span class="am-badge am-badge-secondary"> <?= $model['two_contact_relation'] ?: '-' ?> </span>
                                        </p>
                                        <p>亲属电话：
                                            <span class="am-badge am-badge-secondary"> <?= $model['two_contact_phone'] ?: '-' ?> </span>
                                        </p>
                                    </div>

                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>

                </div>
            </div>

        </div>
    </div>
</div>


<script>
    $(function () {

    });
</script>
